package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.DtAreaEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 区域字典
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-11-26 15:10:04
 */
@Mapper
public interface DtAreaDao extends BaseMapper<DtAreaEntity> {

    List<Map<String,String>> queryOmsMnemonicCode(@Param("code") String code);

    List<DtAreaEntity> queryPage(Map<String, Object> params);

    int queryPageTotal(Map<String, Object> params);
}
